
/*Add CSS variables (custom properties) to keep track of colors and animation
https://www.w3schools.com/css/css3_variables.asp*/
:root {
	--button-text-color: #F5ECE1;
	--button-border-color: #F5ECE1;
}
* {
	font-family: 'Lato', sans-serif;
}
body {
	color: #F5ECE1;
	margin: 0;
	padding: .5%;
	background-color: #4B311B; /*old color 5f3f21*/
	user-select: none; /*User not able to select text*/
}

#displayConsole {
	padding: 1%;
	color: #C0C0C0;
	background-color: #000;
}

.highlight{
	color: #FFF;
}

.container {
	margin-top: 0;
	display: flex;
}

.row {
	display: flex;
	flex-flow: row wrap;
	width: 100%;
}

.column {
	display: flex;
	flex-direction: column;
	flex-basis: 100%;
	flex: 1;
}

a {
	color:#7880B5;
}

ul {
	list-style-type: none;
	line-height: 1em;
}

li {
	transition: opacity 2.5s;
}

h2 {
	width: 100%;
	transition: opacity .9s;
	text-align: center
}

.hide, .hide2, .hide3 {
	opacity: 0; 
	transition: none !important;
}

#centerLeftColumn, #centerRightColumn ,#rightColumn {
	text-align: center;
}

button {
	outline: none;
	border-radius: 5px;
	padding: 10px;
	margin: 5px;
	background-color: Transparent;
	color: var(--button-text-color);
	border: 2px solid var(--button-border-color);
}

div span h3 {
	width: 100%;
	margin-left: 35%;
}

#buyMultiple {
	margin-left: 50px;
	min-width: 50px;
}

#mainDisplay {
	margin-left: -10px;
	margin-top: -15px;
	margin-bottom: -20px;
}


.workerButton {
	width: 80%;
	transition: all .9s;
	margin: 5px auto;
}

#upgrades {
	display: block;
/*	justify-content: start;
	align-items: flex-start;*/
	height: 360px; /*Will need to figure out a better solution that setting a height in px*/
}

.upgradeButton, .cultistButton {
	width: 80%;
	margin: 5px auto;
	transition: all .9s;
}

.researchButton {
	width: 80%;
	margin: 5px auto;
	transition: all .6s !important;
}

.godButton {
	transition: all .5s;
	margin: 5px auto;
}

#deleteSaveButton {
	transition: all .3s;
}

#deleteSaveButton:hover {
	color: #db0913;
	border-color: #db0913;
}

.godButton:hover {
	color: #0CAC64;
	border-color: #0CAC64;
}

#cultTab, #gameStatsTab {
	display: none;
}

.canAfford {
	color: #0CAC64;
	border-color: #0CAC64;
}

button:disabled {
	opacity: 0.4;
}

/*Placeholder Styling from https://www.w3schools.com/howto/howto_js_tabs.asp*/
/* Style the tab */
.tab {
  	overflow: hidden;
  	background-color: none;
  	max-height: 0;
  	transition: all 0.5s;
  	transition: max-height 1s;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  	background-color: none;
  	float: left;
 	border: none;
  	outline: none;
  	cursor: pointer;
  	padding: 10px 15px;
  	transition: all 0.5s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  	background-color: rgba(12, 172, 100, .3);
}

/* Create an active/current tablink class */
.tab button.active {
  	background-color: #0CAC64;
}

/* Style the tab content */
.tabcontent {
  	display: none;
}


/*End Placeholder Styling*/



/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 600px) {
	.container {
    	display: block;
  	}
  	/*Need to fix big gap in page on mobile size screen between workers and upgrades*/
  	/*#centerLeftColumn {
		height: 0;
	}*/
	.hide {
		height: 0;
	}
	/*Add a bit of spacing in between lines in the console when on mobile since the lines will wrap frequently*/
	#consoleDisplay0, #consoleDisplay1, #consoleDisplay2, #consoleDisplay3 {
		margin-top: 5px;
	}
}